package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;

public class HospInfoDTO implements Serializable {
	private static final long serialVersionUID = -2853521744632476385L;

	private String hospCode;

	private String hospName;

	private String hospShortName;

	private String hospLevel;
	
	private String hospOrder;


	public String getHospCode() {
		return hospCode;
	}

	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}

	public String getHospName() {
		return hospName;
	}

	public void setHospName(String hospName) {
		this.hospName = hospName;
	}

	public String getHospShortName() {
		return hospShortName;
	}

	public void setHospShortName(String hospShortName) {
		this.hospShortName = hospShortName;
	}

	public String getHospLevel() {
		return hospLevel;
	}

	public void setHospLevel(String hospLevel) {
		this.hospLevel = hospLevel;
	}

	public String getHospOrder() {
		return hospOrder;
	}

	public void setHospOrder(String hospOrder) {
		this.hospOrder = hospOrder;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((hospCode == null) ? 0 : hospCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		HospInfoDTO other = (HospInfoDTO) obj;
		if (hospCode == null) {
			if (other.hospCode != null)
				return false;
		} else if (!hospCode.equals(other.hospCode))
			return false;
		return true;
	}
}